import { post,get } from "@/utils/request";

// 获取影院列表-分页
export const getCinemaListAll = () => get(`/api/WxService/cinema/listAll`);

// 分页查询商品列表
export const getProductListAPI = () => get("/api/WxService/product/list");

// 获取商品详细信息
export const getProductDetailAPI = (productId) => get(`/api/WxService/product/${productId}`);

// 根据电影院查询商品
export const getCinemaProductAPI = (cinemaId) => get(`/api/WxService/cinema/product/${cinemaId}`);

// 查询销售排行榜
export const getRankingListAPI = () => get(`/api/WxService/sales/ranking`);